home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / baddie_silo.gsh < prev    next >
Text File  |  2000-09-09  |  1KB  |  57 lines

  1. // defines Scuttlers
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_BADDIE_SILO_GSH
  8. #define INCLUDED_BADDIE_SILO_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "drone.gsh"
  14.  
  15. hierarchy Hcy_baddie_silo
  16. {
  17.     file "units\baddie_silo.RIF"
  18.     name "baddie_silo"
  19.     hotspot none
  20. }
  21.  
  22.  
  23. character Chr_baddie_silo : Chr_DefaultBaddie
  24. {
  25.     turning speed        0
  26.     walking speed        0
  27.     strength        70
  28.     aim            5
  29.     sight angle        89    // in degrees
  30.     sight range         10    // in metres THIS IS THE TRIGGER DISTANCE
  31.     hearing range        10    // in metres
  32.     aggression        0.1    // actually baddies produced per second.
  33.     vision cone        no
  34.     generation limit    3
  35.     alertable        no    // Whether the node can be alerted by baddies
  36.     latch trigger        yes    // Whether the trigger is flip once
  37. }
  38.  
  39. role Rol_baddie_silo : Rol_DefaultRobot
  40. {
  41.     shape            Hcy_baddie_silo
  42.  
  43.     character        Chr_baddie_silo
  44.  
  45.     identifier        "baddie_silo"
  46.  
  47.     destructibility    Des_Explode
  48.  
  49.     ai                node
  50.  
  51.     produces        "drone"
  52. }
  53.  
  54. ////////////////////////////////////////////////////////////////////////////////////
  55.  
  56. // end wrapper - for preventing multiple or recursive inclusions
  57. #endif // !INCLUDED_BADDIE_SILO_GSH